package com.bobo.mapper;

import com.bobo.base.mybatis.IMapper;
import com.bobo.pojo.Category;
import com.bobo.pojo.IndexImg;

import java.util.List;

public interface CategoryMapper extends IMapper<Category> {
    /**
     * 根据父级id获取分类列表
     *
     * @param parentId
     * @return
     */
    List<Category> listByParentId(Long parentId);
}
